home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ixedit.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.6 KB  |  84 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'IxEdit.pas' rev: 3.00
  6.  
  7. #ifndef IxEditHPP
  8. #define IxEditHPP
  9. #include <LibHelp.hpp>
  10. #include <DBTables.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Dialogs.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Classes.hpp>
  17. #include <Messages.hpp>
  18. #include <Windows.hpp>
  19. #include <SysUtils.hpp>
  20. #include <SysInit.hpp>
  21. #include <System.hpp>
  22.  
  23. //-- user supplied -----------------------------------------------------------
  24.  
  25. namespace Ixedit
  26. {
  27. //-- type declarations -------------------------------------------------------
  28. class DELPHICLASS TIndexFiles;
  29. class PASCALIMPLEMENTATION TIndexFiles : public Forms::TForm 
  30. {
  31.     typedef Forms::TForm inherited;
  32.     
  33. __published:
  34.     Stdctrls::TGroupBox* GroupBox1;
  35.     Stdctrls::TListBox* ListBox1;
  36.     Stdctrls::TButton* Add;
  37.     Stdctrls::TButton* Delete;
  38.     Stdctrls::TButton* Ok;
  39.     Stdctrls::TButton* Cancel;
  40.     Stdctrls::TButton* Help;
  41.     Stdctrls::TButton* Clear;
  42.     Dialogs::TOpenDialog* OpenDialog;
  43.     void __fastcall ListBox1Click(System::TObject* Sender);
  44.     void __fastcall AddClick(System::TObject* Sender);
  45.     void __fastcall DeleteClick(System::TObject* Sender);
  46.     void __fastcall ClearClick(System::TObject* Sender);
  47.     void __fastcall FormCreate(System::TObject* Sender);
  48.     void __fastcall HelpClick(System::TObject* Sender);
  49.     
  50. private:
  51.     Dbtables::TTable* FTable;
  52.     bool FNoItems;
  53.     System::AnsiString FEmpty;
  54.     void __fastcall AddEmpty(void);
  55.     bool __fastcall IsDBaseTable(void);
  56.     void __fastcall RemoveEmpty(void);
  57.     void __fastcall SetButtons(void);
  58.     
  59. public:
  60.     __property Dbtables::TTable* Table = {read=FTable};
  61.     __property bool NoItems = {read=FNoItems, nodefault};
  62. public:
  63.     /* TCustomForm.Create */ __fastcall virtual TIndexFiles(Classes::TComponent* AOwner) : Forms::TForm(
  64.         AOwner) { }
  65.     /* TCustomForm.CreateNew */ __fastcall TIndexFiles(Classes::TComponent* AOwner, int Dummy) : Forms::
  66.         TForm(AOwner, Dummy) { }
  67.     /* TCustomForm.Destroy */ __fastcall virtual ~TIndexFiles(void) { }
  68.     
  69. public:
  70.     /* TWinControl.CreateParented */ __fastcall TIndexFiles(HWND ParentWindow) : Forms::TForm(ParentWindow
  71.         ) { }
  72.     
  73. };
  74.  
  75. //-- var, const, procedure ---------------------------------------------------
  76. extern PACKAGE bool __fastcall EditIndexFiles(Dbtables::TTable* ATable, Classes::TStrings* List);
  77.  
  78. }    /* namespace Ixedit */
  79. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  80. using namespace Ixedit;
  81. #endif
  82. //-- end unit ----------------------------------------------------------------
  83. #endif    // IxEdit
  84.